package com.polaris.live.utils

import android.content.Context
import android.graphics.drawable.Drawable
import com.polaris.live.R
import com.vanniktech.emoji.Emoji
import com.vanniktech.emoji.EmojiAndroidProvider
import com.vanniktech.emoji.EmojiCategory

/**
 * EmojiUtils
 *
 * @author Created by lucas on 2023/12/26 11:48
 */
object EmojiUtils {

    val emojiId: Int = R.array.com_google_android_gms_fonts_certs

}

class EmptyEmojiAndroidProvider : EmojiAndroidProvider {

    override val categories: Array<EmojiCategory> = emptyArray()

    override fun getDrawable(emoji: Emoji, context: Context): Drawable {
        throw NotImplementedError()
    }

    override fun getIcon(emojiCategory: EmojiCategory): Int {
        throw NotImplementedError()
    }

    override fun release() {
    }
}